package com.lyun.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lyun.pojo.CommentLike;

public interface CommentLikeService extends IService<CommentLike> {

    int getCommentsLikeCount(Long commentId);

    int getIsLikeByUserIdAndCommentId(Long userId, Long commentId);

    int dislikeComment(Long commentId,Long userId);

    int likeComment(Long commentId, Long userId);

}
